package com.yxk.bootvueshop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yxk.bootvueshop.entity.SpManager;
import com.yxk.bootvueshop.entity.vo.ManagerVO;
import org.apache.ibatis.annotations.Param;

public interface SpManagerMapper extends BaseMapper<SpManager> {
    /**
     * 分页查询
     * @param page 分页
     * @param query 查询条件
     * @return
     */
    IPage<ManagerVO> selectPageVo(Page<?> page, @Param("query") String query);
}